{
    "model": {
        "type": "range_dispatch",
        "property": "custom_model_data",
        "fallback": {
            "type": "model",
            "model": "minecraft:block/orientable"
        },
        "entries": [
            {
                "threshold": 0,
                "model": {
                    "type": "model",
                    "model": "block/carved_pumpkin"
                }
            },
            {
                "threshold": 1,
                "model": {
                    "type": "model",
                    "model": "item/hats/bril"
                }
            },

            {
                "threshold": 2,
                "model": {
                    "type": "model",
                    "model": "item/hats/creeperpakje"
                }
            },
            {
                "threshold": 3,
                "model": {
                    "type": "model",
                    "model": "item/hats/kroon"
                }
            },
            {
                "threshold": 4,
                "model": {
                    "type": "model",
                    "model": "item/hats/floris"
                }
            },
            {
                "threshold": 5,
                "model": {
                    "type": "model",
                    "model": "item/hats/propellor"
                }
            }

        ]
    }
}